# +----------------------------------------------------------------------
# | Pink [ A modern python web framework ]
# +----------------------------------------------------------------------
# | Copyright (c) 2023 http:#unnnnn.com All rights reserved.
# +----------------------------------------------------------------------
# | Author: chenjianhua <unnnnn@foxmail.com>
# +----------------------------------------------------------------------

"""Pink Command.

This module is really used for backup only if the pink CLI cannot import this for you.
This can be used by running "python pink". This module is not ran when the CLI can
successfully import commands for you.
"""

#from cleo import Application
from cleo.application import Application

from .InstallCommand import InstallCommand
from .KeyCommand import KeyCommand
from .ProjectCommand import (
    ProjectCommand,
)
from .. import __version__

application = Application("App Starter", __version__)

application.add(ProjectCommand())
application.add(KeyCommand())
application.add(InstallCommand())

if __name__ == "__main__":
    application.run()
